﻿using System;
using System.Collections.Generic;
using System.Text;

namespace ESTAR.Domain.Auth
{
    public interface IUserInfoIndexRepository
    {
        /// <summary>根据账号名称检索账号索引信息
        /// </summary>
        /// <param name="userName"></param>
        /// <returns></returns>
        UserInfoIndex FindByUserName(string userName);
        /// <summary>添加一个账号索引
        /// </summary>
        /// <param name="index"></param>
        void Add(UserInfoIndex index);
    }
}
